Importance sampling: an illustrative introduction