Refactored Either class to accept default values