A Java program to utilise distributed computing with simple task sharing.