Implementation - How to reverse a String using a Stack in Java ?