Converts a string to a long integer.
atol is similar to atoi, but converts the string to a long integer.