Added a helper function to remove a move at a given list position