Added leftPadNumStr function