First chapter exercises