format changes and added stdout test
new file/stdout test
added make file for tests