Add jgrapht dependency to pom