Updated list to work better, graph working and a test in main.