removed unnecessary lines and changed abs path to pwd
added cin test
test changed
exception typo changed
Main changes to make fail bit on zero divide
some error messages