Working on finding a bug in Needleman-Wunsch alignment and cleaning up code