Defined XPM library
Updated .gitignore for Python code
Added hash able behaviour to Color class

So it can be properly used and compared within sets.
Added gradient example