CS373 exercises