Code samples for lessons 1-9