Jar class calculator implemented