Added Reverse and IsEmpty Functions