Code for reverse complement problem.