added src files

Is random_device cheap to construct? I don't actually know.