fixed input parsing demo.  fixed makefile (now compiles, even though there is hardly anything to compile...)