The Calculus of Chemistry: With an Introduction to Computer Programming