Finishing prime factors updates

- adding notes
- removing old implementation which didn't use hash of primes