put in_bounds? in board class, light refactoring