Tests for parer.py
Put the rest of the game logic into engine.py. Also more tests