adding code for cpp Two Sum