Reverse Method Python String Length Function