Refactored for remove duplicated code, removing input_text.to_i, had been used many times
Refactored extracting method from #next_step to #run_the_next_step, for separate some resposabilities