Chapman-Kolmogorov lattice method for derivatives pricing