Fix: Place all variable declarations before statements, since Microsoft Visual
       Studio 2008 (used for compiling Python 2.7 for Windows) doesn't support
       modern C99 syntax.
Merge pull request #5 from bjones1/master

Fix to allow compilation on Windows