renamed board::get_possible_moves() to board::get_valid_moves()