Localization of Electrons under Strong Magnetic Fields in a Two-Dimensional System