adding updated code and hadoop output