cleanup of step function
refactored the machine
multiply machine working
multiply with custom input and result display