learn probability from scratch