Add valid_move? method to Board class