Collection of some old map reduce codes