Added timedout Solution to Similar pairs