Added a new function to pad integers with leading zeroes