Encapsulated the jobQ field in the Machine class.
Inlined setJobQ and deprecated getJobQ in Machine.
Replaced numerous reference to the machine array in changeState with a
single local variable.
Extracted new hasNoActiveJob method and moved that to the Machine class
where it arguably more naturally belongs.