A utility function that can be used to generate binary fingerprints
of a specified length with a specifed number of bit positions
(selected randomly) set to 1. Currently bit positions are selected uniformly
Usage
random.fingerprint(nbit,on)
Arguments
nbit
The length of the fingerprint, that is, the total number of bits.
Must be a positive integer.