Added nested while loop so game would continue to run