Added event loop with user input. And a check for victory function that is poorly written and does not work.