Computer Algorithms C++