Recreating Uncle Bob's Kata on Prime factors