Simple way of creating a 2D array with random numbers (Python),[[random.random() for x in range(N)] for y in range(N)]