Simple library to search and traverse graphs using DFS, BFS algorithms, and also detect cycles in directed graph input