Made displaying students in creation/editing more dynamic by changing a
switch/case to a try/while.