added startPlaying function to initiate the game and improved the handling of aces