whaley's implementation

Here's my scala implementation.  Uses sbt for a build.  Hopefully this meets all project requirements.