This flushes the buffered string.
Use this after you use print! macro.
This uses std::io::stdout().flush method.
This panics if flush method returns an error.
This uses std::io::stdin().read_line method and return the string.
Unlike read_line method, this does not append to the given string,
and it is automatically trimmed.