Encapsulate value

Value transferred between mapper and reduce is now
wrapped in a Writable class