Added printMainMenu function