First attempt at prime factors - certain I can clean up the implementation further