How to create a distance matrix using the HC-SR04 sensor?

facing the same with int as well.