Machine Problem 1 for EE 367