Self-Organization of a Monolayer of Magnetized Beads