Text this: Design CMOS Memristor-Based Logic Gates