adding statements to code
adding output file
adding info to readme regarding output