Updated perl test script, implemented walk the line algo, now passes 11 / 40 tests!