adding chapter7 exercises