adding AddLeadingZeroes function