Assignment 3 Excersizes 5 and 6