added unsolved 3.cpp that uses trial division implementation of primality