add Calculator algorithm