Simple integer reversing algorithm added