Refactored logic into game class, cleaned up neighbour detection a bit.
More moves into game class, more cleanups.