Add documentation to random int method