Added distinct prime solution in python