fix queue_size function
assign metatables to udata for security checks
fix compare argument order
new set operations ( to use sets as priority queue )
more tests