Fundamentals of probability theory and statistics for students of computer science