Submitting hw6, added sorting and linked lists to each class