algorithms to make AI happen