full calculator implemented with additional features