complete assignment 5 - 8

Assignment for 5 - 8