added examples and logic for issue 28
Merge pull request #42 from inaka/hernan.issue28.length

Added examples and logic for issue 28
Fix #41