set up algorithms dir