for loop with step size
simple bit vector utilities
Hungarian algorithm