Working through scala examples.