validMove and test added to Move class