add a Boost Python module to have the C++ logix used directly in Python
use some C++ logic
fix a bug discovered when running the opencv_tests
fixes #5 by removing the logic from Python and using wrapped C++ and adding a test for it