added itoa, and str_reverse