add confirmExit method

will ask user to confirm exit, and if yes, will call method to write
vehicle libraries back to csv files