Add manhattan function into vector2 class