Homework 5 - Problems from 1 to 5 - solved