added alignment function for comparing string likeness