Implemented cycle, tree, star and wheel