All exercises from Ch1