writeControlFile function

Write JAGS .cmd file for running JAGS