Homework for CS course