Concatenation Algorithm Added