Homework assignment 1