add code for inf handling sample
add dividebyzero excpetion sample