Added '==' operator overload for Functor.
The Functor '!=' operator needed overloading too.