A1: finished first part of Ex1