Auto-allocation

I have developed an algorithm (in Visual Basic) that allocates students to project supervisors, taking into account student preferences and limitations on staff numbers.