Code on fingerprint recognition in python