Optimisation - checks factors of primes
Adds more specs
Adds simple output formatting