Python Code For Basic Game Theory