added rc.lua

dofile("rc.lua")

then rc(4,3,2,1) or whatever you want. A non-integer return value signifies an invalid reversal.