add solution for reverse interger