add partial cpp solution to codechef trsubtr