public void display(){
        LinkedNode root = this;
        if(root == null)
            return;
        while(root!=null){
            System.out.println("Key is "+root.getKey()+ "  :  Value is "+root.getValue());
            root = root.getNext();
        }
    }