minor change in LengthOfInteger and implemented ReverseInteger