Improved print statements, including use of stderr for error messages
First commit of challenge3