Few exercises from the book for hw5