Study Notes on Patterns