Added program chooser on run and initialised each part of assignment