adding abstract class Node
made item method as abstract