added choice_task.py
added counterbalancing and logging in training.py