Minor Change here

Made a new function which returns the arraylist of integers which should
somehow be captured by the GUI and change the menu... let alone how to
realise when to call the function (when either spinner is changed on the
bus GUI)