Carnegie Mellon University: David Touretzky's "Basics of Information Theory"
Read this page to learn about information theory and get a feel for how messages can be encoded. Make sure you do the exercise listed on the page under "Variable Length Codes" section.
Click http://www.cs.cmu.edu/~dst/Tutorials/Info-Theory/ link to open resource.