An exercise to understand how  works the programming language Prolog