second assignment using adts 8122305