Makefile now compiles two versions, debug and optimization. Also, I add a test target in Makefile.