Add exercise 1 from practice 2