Implemented initial algorithm for classifying pages by statistics
Fixes to algorithm for determining page structure