Ex 1 & 2 of Homework 5
Ex 3 & 4 of Homework 5
working compiler