Code Review

Just riffing here, but ... what if you also stored a hash with the key as letters and the value as an array of blocks/coordinates/locations.  This would allow you to quickly find all blocks with a letter.  When a new block is added you just add the letters to the hash once it's placed.