A local alignment written in python