My solution to the pixel coloring challenge.
I couldn't for the life of me figure out why it wasn't working and had to review the instructor's answer.  Turns out you have to set the alpha value to 255 as well or the pixels you just painted are transparent.  booooooo
instructor's solution