add UP, DOWN, RIGHT arrow key support. make a Makefile.macosx. add the section of Installation on Mac OS X.

add UP, DOWN, RIGHT arrow key support. make a Makefile.macosx. add the section of Installation on Mac OS X.