Can now read from stdin.  Tested and working great!  Program now meets all requirements.