add makefile and make it run from STDIN, will add a way to input files for testing later