Statement now stores the status of the last operation so it can be checked in the pointer destructor
Fixed whitespace issues
Merge pull request #31 from AndyLing/master

Statement now stores the status of the last operation.