minor changes
adds draw state and working win state
fix console.log stuff
Merge pull request #3 from rjmccluskey/backend

Backend