atoi: Negative Numbers

Adding the code to deal with a negative number.