Added a simple Game class.

Just created a basic game structured class, with the main calling it.
Think it's better to use a while loop instead of a for loop when running the game for clarity (and maybe performance since you don't need to deal with the index variable) , but feel free to change it back to a for loop.