added code samples for exercises