Adding code samples for week2

- homework later on