simple arithmetic class