set1 exercises 1 and 3