Builds and solves labirinths