implements manhattan
more tests