Basic Graph Processing Algorithms implementation in C++