With a given integer number n, write a function to get array of all prime numbers from 1 to n.
- Define function 'get_prime_numbers' which will accept number argument.
- Number should be greater than 1.
- Return array of all prime numbers between 1 to n.
- Function should pass all test cases.