Code that reads in a file and produces the approitate adjaceny list