Given a number, write a method that returns all of the prime numbers less than that number.