homework 8 DSA task 12