makeCluster function

Create a cluster of nodes for parallel computation