Implement ToString method and == operator for Note class.