add first part of ch3 exercises