updated homework. Quiz loop now works, but is still too verbose for my liking