Revised java and python code
Java Map/Reduce files added