64 bit string error fixed for db
semi working match function
ham distance function works on scanned image, returns possible cards