Prelude additions

Either instance for Functor doesn't work at the moment