lib/ai: add search.nit as the second module

Signed-off-by: Jean Privat <jean@pryen.org>
lib/ai: add the n-puzzle problem as an example of search

Signed-off-by: Jean Privat <jean@pryen.org>