Assignment 6 (Team Assignment) Solution