Solutions for Stanford CS 106a