Refactored code to allow choice for player to advance to next level.