Homeworks from cs109 class