Added code for reduce-side joins one-to-one, will add data for one-to-many and code for many-to-many