Single-Electron-Based Flexible Multivalued Exclusive- or Logic Gate