Added a function for getting the coordinates of the Needleman-Wunsch alignment to backtrack from