Macrame: How the art of knotting works best