Solutions to Gentle Introduction to Symbolic Computation by David S. Touretzky