code4nothing/singlepath — pull request #8 by emadb (2014-07-23 11:55:14+00:00)
Title: My attempt to remove the two if

I'm not sure that this solution works, but the test is green ;-)