Update CanDetector.java

Implemented CanDetector
Merge pull request #1 from sinhpah/patch-1

Update CanDetector.java