Finished overriding method equals