adding first implementation of algorithm for locationg pictures around the map
after manul merge