Refactored toSingleSpaced() and getArrayHorizontalLimit()
Created method nthIndexOfLastChar()
Refactored in general. Removed main() method, in favor of unit tests.