fixed implementation of all()
Merge pull request #2 from jghowe/master

fixes #1 - implementation of all()