made keepLooping local to main() as it should be. Also brought scanner creation outside of the loop. As it should be.