Basic Discrete Mathematics: Logic, Set Theory, and Probability