Added the implementation of LinkedLists--contains an issue with the pop function