scoring and aligned string generator done