A Course in Networks and Markets (Game-theoretic Models and Reasoning)