write.bayescan function

Writes a bayescan file