Introduction - If you have any usage issues, please Google them yourself
My first effort, Recursive algorithm using multi-step thinking process has a certain artificial intelligence (people to accidentally lost), it can be of interest to improve, up to a very strong point (I temporarily do not have time to perfect it).