Implement str.replace and add tests for it and str. Add tests for str.strip