added sw alignment code
added some code from last year's class
added some test code