added Makefile.
added some comments.