Fixed load and bug in victory conditions

@isupeene Fixed load to work. Also fixed bug in victory conditions that was allowing victories by wrapping around the edge of the board. Not sure why I did them in the same branch.