Added initial logic to solve letter boards