Basics of Coalitional Games with Applications to Communications and Networking