Adds completed prime factors kata in java