Changed arrangement of the view
Added algorithm to see if it is the end of the game
animated the flips