Simulating galaxy formation based on a lecture given at the International School of Physics "Enrico Fermi" Course CXXXI Dark matter in the Universe, Varenna, 1995, IOP - Steinmetz, Matthias (Max-Planck-Inst. für Astrophysik, 1995)