Added globel functions rbegin and rend.
Added function reversed.