fix issue #2
change the programming language from C++ to Java