Implemented weekly occurrences detection.
Fixed some typos.
Further along with the implementation of weekly pattern extraction.