Wrote string_to_int()