Add flip function
Finished main game logic
Fix score counting and add ability to C-d