Code Academy
Challenge 3
Create a function that takes in a number, and returns all the prime numbers from 1 to n (inclusive). As a reminder, a prime number is a number that is only divisible by 1 and itself.