Create gray-code.cpp