Cleaned up createColorArray code. Closes #27.
Merge pull request #28 from tsherif/create_color_array

Cleaned up createColorArray code. Closes #27.