Adding randomized prims algorithms setup and compilation