Complete the function that returns an array of length `n`, starting with the given number `x` and the squares of the previous number. If `n` is negative or zero, return an empty array/list.
## Examples
```
2, 5  -->  [2, 4, 16, 256, 65536]
3, 3  -->  [3, 9, 81]
```
def squares(x, n):
    fun = lambda x,n: x if n <= 1 else fun(x, n-1) ** 2
    return [fun(x, i) for i in range(1, n+1)]
    
    
    

def squares(x, n):
    fun = lambda x,n: x if n <= 1 else fun(x, n-1) ** 2
    return [fun(x, i) for i in range(1, n+1)]
    
    
    
