Add comparison methods.
Merge pull request #6 from hidori/feature/add-comparison-methods

Add comparison methods.