add new java example OurPi and SimpleApp