Atomic scale switches based on self-assembled surface magic clusters