added select functions

get professor, student, classes, get professor from class, need to fix