Algorithm For Reverse Of A Number