added input file

also code to read it in and format it