Algorithm Implementation/Strings