add RandSelect to randomly select 1 out of N elements with equiprobability.

fix the problem of re-seeding in the Rand related classes (when constructing some object in a short time, the random sequence generated by these object may be the same ).

add a basic implementation of graph using adjacent matrix.