Coloured lines forming squares