changed structure of GridModel, rewrite method checkWinner, added Grid-class

Major commit