When you work with angle measurements, you often want them
normalized
or converted into the range between 0 . . . 359
degrees. Write a method normalize that takes an angle of any size
(positive or negative) and normalizes it. For example,
normalize(380) should return 20, and normalize(-30)
should return 330.