Just some random Matlab/C/C++ codes for fun exercises on Probability theory.