colored black and white Sierpinski triangle

Hi !!!
I just have started to learn opengl with C
and I would like to draw Sierpinski triangle colored in black and white(like chess).
If anybody send me a code of this program
I will be very thankfull to him/her.
Thank You very much !!!
e-mail:vulfh@yahoo.com