Use buffer-equal module

No need to implement it yourself :)
Merge pull request #2 from KenanY/use-buffer-equal-module

Use buffer-equal module