Basic algorithm demos