Inplementation of some algirothms in RHadoop