Decision Making in Baseball: A Computer Programming Approach