Progressbar

added code for progress bar.