added reverse function Fixes #4
Merge remote-tracking branch 'origin/master'