Multithreaded counting

If next Scanner input is 'q', terminate threads and print out amount of lines that have so far been counted. In about half a second I was able to read 700k lines, but it takes a little bit of time to process the 'q' quit signal because of all the things it's doing.