Create learn_and_test.py