Homework for cs325