There is an error in your algorithm

Hi Watson.

I found a huge mistake in your code.
So I pullrequested a test to give you a clue.

![I'm not mean](http://media.giphy.com/media/NA2NnBX4DKynC/original.gif)

See you,
Thomas.