solved reversepolish in Java and Python
solved ambiguouspermutation in C, Python, Java