integrated algorithms, ran a few tests for traversal