Fix #7
Fix bug: imported but not used
Merge pull request #8 from otiai10/fix/slice-comparison

Fix #7