Added digitalEncoder.cpp
Merge pull request #13 from Numeri/master

Added digitalEncoder.cpp