Validated arguments and display error if not numeric
Set default argument to 2 if divide by 0 is attempted and display error message
Changed error message and restructured divide function
Added an error function