fixed Makefile
edited comments, make code more self explanatory