Codes to calculate Temperature and Density from the lines ratio of certain ions in the narrow line region of a given AGN