Refactoring input error handling out of execute function
Decent prompt string
Extracting printResult function
Keeping state on the run loop