Fixed bugs in Linked Lists