Problem
Return the smallest integer factor of n greater than 1, or n if prime (n >= 2).
Examples
firstFactor(15) -> 3firstFactor(7) -> 7
Return the smallest integer factor of n greater than 1, or n if prime (n >= 2).
firstFactor(15) -> 3firstFactor(7) -> 7