Preference-Based Action Selector with Softmax Probabilities - Coding problem | OneNoughtOne