For an explanation, refer to the solution submitted by Jer in this location, and:
refer to the solution submitted by Charlie in this location
blackjack
flooble's webmaster puzzle