I've tried running this python script but it returns an empty list, I don't see what I'm missing but it seems I'm failing to append anything to the list. (The goal is to return a list of n numbers of prime numbers starting from 2, there are restrictions such as using only the while loop.) Appreciate any insights!!

```
def primes_list(n):
    primes = []
    count = 0
    while count < n:
        num = 1
        divisor = 2
        while num % divisor != 0 and num > divisor:
            divisor += 1
        if divisor == num:
            primes.append(num)
        count += 1
    return primes

```