implemented the new while command with conditions and also fixed the input field disappears when the user enters 0
Merge remote-tracking branch 'origin/gps-workspace' into engin
integrate WHILE loop with condition to engine.js