reading words extracted to a helper call
reader's thread loop implemented
removed unused header
initila implementaiton of writer
writers added to main()