Wrote patterns section of manual

Change-Id: I7656d741c1ed5e6816f2f8e6f407bcd3f63b59ec