Calculator program using objects. Just Java practice