print method in AdjLL working