Update reverse.py

first edit of code library in learning python.  

did the reversing of the string my own way.