2-Dimensional String Problems: Data Structures and Quantum Algorithms