Added implementation of modified Smith-Waterman Algorithm

It would be clearer to break printRow and printColumn into their own helper functions