Fix bug where game ends as soon as all tiles are filled.
Remove tests and console debugging functions.