Riley the Robot: An Input/Output Machine