Deciding faculty for students and plotting graphs