base algorithm class & started writing BFS implementation
base algorithm class + BFS implementation (just started)