Dq algorithm

Hexagon Algorithm
Syntax is now more SQL-Like