taking input from command line, outputting to output.txt, rotor positions ready