For an explanation, refer to the solution submitted by Praneeth in this location
blackjack
flooble's webmaster puzzle