corrections from Chase
added Makefile