Added a solution for reversebinary.