program is running correctly, need to clean comment and produce output file.