string to int using pointers
string reversal using arrays