add mean median hadoop implementation