atoi

very nasty code. may need to think about change it to state machine
style.
make the overflow code looks better