Add python random solver

Adding python random solver