pattern design ebook