Homework for ay190 course