Updated homework 10