First Commit HW #7

need to finish destroyList() functions, and fix freeing pointer error.