adding chapter2 exercises