Added getInt function which determines row input is integer