Added automaic colouring

Changed the way flood works. New way is slower approximately 20%
if I find the way to replace check for value in set (or introduce additional variable in self.data somehow) this could be fixed.