A port of the calculator made bu me in LUA into java.