Added primeChecker function to problem 7.

Signed-off-by: Andrew Coomes <ajc@ajcdrift.com>
Added solution to problem 7.

Signed-off-by: Andrew Coomes <ajc@ajcdrift.com>