Added beginnings of the hadoop implementation.

The code currently compiles, but certainly doesn't run yet.