fixed typo
exercise 7

basic functions for Either