Displaying the students list using a 'while' loop.