implemented method for calculating blackjack score