Fixed usage of len.
Merge pull request #77 from thedrow/patch-3

Fixed usage of len