adding new files

I wrote determinant.cpp, the others are from the internet, somewhat
tested.