Similar Items: Primitive Two-Dimensional Words and Iterated Pedal Triangles via Symbolic Coding