reverse integer exercise
simplify logic
stackoverflow checking