simple R script to generate arbitrary size cluster templates