Added printList and removeAt functions.