Interacting Electrons in a Random Medium: A Simple One-Dimensional Model