From http://www.ibm.com/developerworks/cn/java/j-lo-forkjoin/index.html