data structure homework