Prime factors kata