Homework 1st exercise