Tested code
Added main loop.
Got tired of warnings and commented everything out.
Added header file for stream functions.
This file even shows up in CodeBlocks???
Added numlines function.