added some general code for linked lists as well as starting on a solution for the first problem