My main method is a switch case menu, that is working fine. If user selects 2, it goes to that class and returns normally but if user selects 1, it executes that method but