Added Random class from other projects.