added an exception class that will be thrown when an invalid operator is inputted
changed from using integers to floats and using the calculator class too