Add location equals method. Add it to is_valid_location along with to_str