modify codes to mac osx
add Makefile
translate Chinese to English