refactor code in bowling_game for strikes, spares, and normal scoring