Added a simple prime check function

This function is to slow for this lab and was written mostly for paractice in C++
TODO: Replace isPrime with a Miller Rabin implementation.
updated gitignore with C++ rules
Fixed polution in the repo by removing the .o file

The .o will be ignored in future commits
Fixed minor readme stuff