made uniq a lot faster for small sequences (see #16)

tossed some random numbers in there, will need to tweak

also, still sucks for larger sequences
adding MIT license (fixes #17)