Updating Repository

Transferring .txt file into a .cpp file and updating documentation.