Update hw1_main.c

added references to http://en.wikipedia.org/wiki/Gray_code