Add examples for exercises in homework 7