pattern design for beginners