Add apd and strassen

This is apd algorithm (all pair distances) using strasse * logn time
This strassen implementation is probably highly un-optimal.