Implemented List.RemoveFirst and List.RemoveLast