added input and output files for testing
more fomatting/bug fixes
comment