commit before moving legal move generation to board class
completed moving legal move generation to board class