Added a locality_analysis file