public boolean deleteByIndex(int index) { Node curNode = head; while (curNode.getDown() != null) curNode = curNode.getDown(); for (int i=0; i