Improved apartments .equals method