MATLAB functions to simulate and analyze a simple task choice game used in psychology studies