Convert Decimal to Gray Code

Created with Sketch.