but it seemed like it was taking too long / too many lines so then I switched to using a dicitionary
of place values. I think it turned out okay, I was finally able to get at all of the spaces and ands
(at least, the test ran OK, I suppose there could be more oversights that weren't revealed in the tests).