added c++ code to binshrink