Text this: Introduction to stochastic search and optimization