Changed printf in printGraph to println to fix errors. Also Checkstyle seems to have gotten rid of a bunch of spaces or something