Adding 'filter_by_cohort' method. Also adding indexing of students list.