Fixing #1497 and expanding get_input to handle floats and booleans autom...

...atically.
Should add a space between return and (int)