create Move class
creating Board::move function