pb_len function

Progress bar of given length