Update on Program 9

update on the union function