Update mapred_example.erl

Add connecting to Riak