Amazon interview question

Design software for wending machine.