not functional, commit to preserve
working substr
new test case
cleaned up
changed to stol
final working copy, solved on CodeEval