Prime Factors Kata in Bash