add swap method to student and professor
Student swap api finished
add professor exception
updates