Module to create a numerical progress bar for loop