public static void main(String args[]) {
        Random rand = new Random();
        Cycle[] cyclesArray = {Bicycle.factory.getCycle(), Tricycle.factory.getCycle(),
                Unicycle.factory.getCycle()};

        for (int i=0; i<5; i++) {
            cyclesArray[rand.nextInt(3)].ride();
        }
    }