Finished linked list homework