Added several methods to Either.
Refactored Either and wrote yardoc.