Color Lines clone in Python.