re-wrote arithmatic functions to take an int and an sexp * as parameters
to fit my new way of doing things

ALSO: weirdest error ever.
I accidently defined type in debug.h, for some reason, which caused
some absolutely bizzare errors and took a while to figure out.

I also fixed a bunch of little things that casued complier errors, ie
things that aren't types anymore or enum values that had changed,etc..