Add Pi approximation Java example

This closes #78
Some simplifications to the PiEstimation example