Stav dette: Structural design of memory system for Ternary Optical Computer