Removed test
Fixed insert rectangle in list.

Fixed the lists to correctly represent horizontal and vertical and made
sure a rectangle is added to the vertical list only if the rectangle
covers the center of the extent as per specification.

Also changed the order of the comparisons for better readability.
Merge branch 'master' of github.com:sangisos/pkdhomeass2
Merge branch 'master' of github.com:sangisos/pkdhomeass2