fixed main with no type warning.. cleaned up error handling
fixed main with no type warning.. cleaned up error handling

millertime-homework/cs350report,millertime-homework/cs350report,millertime-homework/cs350report,millertime-homework/cs350report