Make chebyshev and manhattan actually compile, fix chebyshev algorithm, fix makefile