quadTree (rectangles)

The specification of query is not proper. Should have been in query' and
slightly modified i guess.

In order to get proper time complexity for query the searching of the
lists is done separate and using cons operator only.

Wont comment more on this for now but might write a blogpost later.