Prime factor kata by different case path