Some scala exercises....