Fixed a bug in CheckWin, it was reading over the array's limits.