restructured the code into smaller one-action methods to try and make it easier to read when executing them all together at the end. list option running ok as i've now added a student array containing one default value to test. add option not running ok- need to somehow shovel user input into the student variable that is now located outside of all methods