*bug fixin
*adding manhattan method