Added generic usage and a specialized Register class. This improved iteration time for 1M in a loop from 6s to 4s for me
Added Readme