Primes below input

Takes in a number and outputs all the primes that are smaller than that
number.