Some fun added. Now colliding objects also exchange colors.
Comments added for the future me.