Dilate and Erode filter implementation

Implemented Dilate and Erode filters. Also updated the example to show these two filters.
Can somebody please review this pull request. Should complete two filters out of three in #126