Refactored student print statement to print students for a particualr cohort only