added the class calculator example