(Swift Prime Factors Kata) [DT] Worked on Swift Prime Factors Kata. implementation similar to uncle bob