Done exercise2.10
Done exercise2.11