Homework assignment #3