Fixing the Helloworld example to reflect change in API
Adding dimensional reductions to Array.java
Adding Monte Carlo calculation of Pi example