Prof updated- added functions to retreive all professors of one dept