It's 3rd assignment of cs193p, customized version of formal set game