1. Write a function (C or Java) to generate a random HSP.  For example, it can be a region with length 64 and each position has 70% probability to be a match.
  2. Write a function to check whether an HSP is hit by a given seed.
  3. Examine the hit probability of seed 111010010100110111 and 11111111111 by sampling 1 million random HSP.