Updating readme and adding region merging code