got rid of adjlistnode using long instead