Add random program generate