This is the solution for the balckjack game