add some comments
count collisions
add signal handling for interruption and changing number of threads