Version 1.0. Currently designed to output results to cout.