Class to implement linear and affine gap penalties Bioinformatics 1, WS 15/16 Jonas Ditz and Benjamin Schroeder