Fix all links to patterns tutorial code