solution hw5, suites