FINITE GROUPS WITH THREE CLASSES OF MAXIMAL SUBGROUPS