Added operator overloading to the solution class.