INIT_QUADTREE(5)
CREATE_RECTANGLE(Pika,5,5,1,1)
CREATE_RECTANGLE(Char,23,5,7,1)
CREATE_RECTANGLE(Squ,21,3,1,1)
CREATE_RECTANGLE(Bulba,26,26,2,2)
CREATE_RECTANGLE(Cyn,5,13,1,1)
CREATE_RECTANGLE(Toto,29,25,1,1)
CREATE_RECTANGLE(Chiko,29,9,1,1)
CREATE_RECTANGLE(Tor,14,26,2,2)
CREATE_RECTANGLE(Mud,6,26,2,2)
CREATE_RECTANGLE(Tree,13,30,5,2)
INSERT(Pika)
INSERT(Char)
INSERT(Squ)
INSERT(Bulba)
INSERT(Cyn)
INSERT(Toto)
INSERT(Chiko)
INSERT(Tor)
INSERT(Mud)
INSERT(Tree)
TRACE ON
TOUCH(Cyn)
TOUCH(Squ)
TOUCH(Tree)
WITHIN(Bulba,1)
WITHIN(Tree,0)
WITHIN(Chiko,3)
HORIZ_NEIGHBOR(Toto)
VERT_NEIGHBOR(Cyn)
NEAREST_RECTANGLE(5,5)
NEAREST_RECTANGLE(31,15)
WINDOW(8,8,8,8)
WINDOW(24,8,8,8)
WINDOW(2,16,16,16)