A tool for learning basic probability and information theory