public static void main(String[] args) {
        
        System.out.println("This is a binary to decimal converter.");
        System.out.println("Please choose your option:");
        System.out.println("1. Convert binary to decimal.");
        System.out.println("2. Convert decimal to binary.");
        System.out.println();
        System.out.print("Enter your choice now: ");
        
        int choice = s.nextInt();
        s.nextLine();
        
        if(choice == 1){
            Bin2Dec();
        }
        else if(choice == 2){
            Dec2Bin();
        }
        else{
            System.out.println("You did not make a valid choice.");
        }
    }