Finished debugging basic program