Moved canOccupy check to before distance calculation
Moved canOccupy check to before distance calculation

gannicottb/pack-your-bags,gannicottb/pack-your-bags,gannicottb/pack-your-bags,gannicottb/pack-your-bags,gannicottb/pack-your-bags