Add Machine#run in main function