Prompted user termination of program
Fixed duplication error writing JSON file
Fixed duplication error when writing JSON file
Removed debugging outputs
Removed previous debugging checks
Cleaning up unnecessary code and files