Add tests
Remove main
Add docstrings
Add reverse word method
Add tests