Changed to use program arguments instead of code-fixed values.
Optimized leading zeros generator.