Machine Problem #1 for CMSC170