Refactoring get-closest-tile-to into utils.clj.