norvig_algorithm and test_norvig classes updated