An erlang C java calculator