new graph features, new tests, more comments and descriptions, fixed bugs with traversals