Getting attuned to JAVA by writing infix to postfix converter