The Cross Entropy Method and Its Applications