Added SyscallResult class.
Implemented readInteger() and readCommand().