Attempted fix at getIndices

Bugs: Array out of bounds index.

committing to merge for a completed  isSolved.