Modified to include error statement for non-numeric instances trying to remove from list