Added comments, forgot to delete head in removeHead()