First homework of my data structures class