Program works but don't exactly understand it

Printable View