Modifying Alignment to be correct return type given instructions while still allowing for the returning of the optimal strings.
Adding functional Matching.