removed hard coded winning patterns, and changed to another thats fits to any board size