Implemented some array functions. Started the Hausdorff distance algorithm