Sorry I could not figure out how to upload files.
Anyways, I used some previous code and mix n matched some suggestions and got a whole pile of errors,
Now im pretty weak in CPP atm so dont be surprised if they are the dumbest obvious errors ever haha :)