adding remove() method to lab 8 & fixing up lab 9