add abstraction in c++ with prime table complement and simple recursive string dealing