corrections from Prof Mark

file now reads input and displays it to screen