Added a little logging and looping

you can now input as much as you want for the machine you put in and it
will log just the current run in a log file