Q5 modified
Optional exercises from 11 to 21