Simple algorithm implementations in C++ as I learn the ins and outs of the language.