fixed bug with manhattan. should not add include any calculation for blank square. seems to be working now