what is logic puzzle in math