Homework second year CS