Added 'int_input' function
Added 'int_input' function with comment