Initial Version
Example: approximate PI. First version using rand()