much faster pair generation
added profiling
updated tests
updated readme