returning whether or not a number is prime - used 8 min of Pomodoro 2'