CAS CS 538. Solutions to Problem Set 6