Move tests, don't use .h files
Move hamming distance to its own file + test, add test images