Creating the Party Problem model (based on chapter 6 of tutorial)