Passed compile test
Added skeleton code for random implementation