started the Board class to separate data from game flow. also fixed tests