Cleaned up code, fixed failed diagonal win test, moved dim and dimsq vars to Board class