changed the poll case to recieve a channel rather than a bool. 

This new channel can be used to return the current state. 

Also have made the quit channel not worry about the message it's getting, and it just breaks the for loop, closing the go routine. 

Also go fmt has done it's thing. sorry about that. 

Have also moved the stats file into this package so the whole thing is similar. Have also made a simple linear data generator for the first test. 

generally, I've tried to make edits along the lines of the style we're using in streamtools - hopefully it's useful!