Removed instance variable 'size' from class Node and moved it to class LinkedList