public static void sortBubbleBoo(boolean boo[])
    {
        
        boolean t, x = true;
        int size = boo.length;
        
        try
        {
        for(int a = 1; a < size; a++)
        {
            for (int b = (size - 1); b >= a; b--)
            {
                if (boo[b - 1] != x)
                {
                    t = boo[b - 1];
                    boo[b - 1] = boo[b];
                    boo[b] = t;                    
                }
            }

        }
        
        System.out.println("First: " + boo[0]);
        System.out.println("Last: " + boo[boo.length - 1]);
        
        }
        catch(Exception z)
        {
            System.out.println("Oops!\n" + z);
        }
    }