Made a selection funtion instead of putting the swicth case in main.
Merge remote-tracking branch 'origin/master'