Implemented exercises for Applicative.