Added win check to game engine

returns a boolean to UI to tell us if we've won