Working on 3, making a procedure to determine if a number is a factor,
and if a number is a prime