Added in some stuff on the report, work on the analysis for patterns (really slow, still working on it)