Practicing encapsulation using student lists