modified Makefile: list of source files
implemented very simple monte-carlo based method