Quady - logic puzzle