add detector module
init commit
Merge branch 'master' of github.com:darlinglele/simplexk
detecotr.py contains the detector operations