primary role of algorithms in computing