Added the old C++ program that inspired this project