Flavor Symmetry, Leptogenesis And Grand Unification Theories