problem in navigate robot by using compass HMC6352.plz help. urgent

Hi,

What does it do running the code as it is here?

Geoff