Updated template file
Passed "Gray Code"