String Reverse In Python Without Built In Functional Interfaces In Java