add solution for reverse integer