Convert digits to simple map

Not sure what I was thinking with that thread-first map assoc thing :\
Refactor to use character literals in matrices

Because strings are sequences