describe simple algorithms that are encountered in everyday situations