Added logic for moving a piece into a new spot and clearing the old spot