Web applications for teaching probability and statistics