Changed the strategy constructor to not take a scanner object parameter, and added scanner close methods in finally blocks