added solutions to 2 in-class exercises