Draw lines and match the things of the same kind