add cpp solution to codechef trsubtr