Berezinskii-Kosterlitz-Thouless Transition in Josephson Junction Arrays