Performance-optimized assignment problem

Can handle a 35x35 class plan