Added equals() methods for all object classes (except IrrationalFraction).
Added general exception for weird unknown errors to util package.