implemented alignment scoring, searsearch