assigmnet 8 first attempt not working, comparing cities outside the constraint method