major changes to ui, bfs added

bfs implemented, dfs & bfs algo simplified, console+ui made modular