Measure distance and display on 7 segments LED

I'm new to this forum. I just purchased the Arduino Uno R3, HC-SR04 ultrasonic sensor and Max7219 seven segments LED. The project I'm working on is to measure distance in inches and display on 7 segments LED, I have some questions below please help:

1) What is the first thing I need to do? 2) Are there other parts I need? 3) Are there codes available?

Regards, Gazoo

To get distance: New Ping Library

To display on the Max7219 display: