Added exercise 2 of LPTHW