here you get the source
it's slower though
Merge pull request #4 from bitowl/snake

here you get the source