Fixed bug dealing with improper output of negative numbers in safe_atoi