reverse integer
first attemps, these ones need to be updated