Completed simple linked list program