A crappy calculator implemented in Java