Added size function to linkedlist