touchups
Added variables subchapter
fix variable doctests