intent: How to get a list of all integer points in an n-dimensional cube using python?
rewritten_intent: get a list of all integer points in a `dim` dimensional hypercube with coordinates from `-x` to `y` for all dimensions
snippet: list(itertools.product(list(range(-x, y)), repeat=dim))