added fixed width formatting to print_assignment