Added some integer types for portability reasons.

I will now continue to write a non-POSIX compliant OS anyway.
Added some basic IO functions.

The difference between my functions and the standard versions is
horrifically non-constant in this commit.