generalised code somewhat
trying to generate bounding boxes. i shoudl probably try to make two heights for every bounding box and ignore some overlap with other lines of text
added files
merge