Error handling version-2: using generate and System.exit
Added readme content