Added perform_move method into board.