Added python code for DPP sampling