add map reduce demo
finish two occurence method