Manhanttan distance calcuation done.