Added and integer input to the Machine constructor in order to set its
id field.  Also updated the inputData() method to properly use the
modified Machine constructor.