added new readme example, fixed bug in overlapWidths