Basics of the Theory of Probability