finished 2d board class

Finished win checking for 2d case, started generalized case