#37 finished prototype for hadoop map-reduce