Implement the Machine class with bootup and bootdown methods (issue #10).