listgraphhhhhhh implementation