c/progress_bar: Completed print_bar method & tested sucessfully