A simple Java based calculator