Adding #1, permutations generator (requires harmony), prime check functions