Adding 4 methods to create a communication between java and c++. Also is
added Makefile to get a compilation on Linux