Added an implode function similar to the php implode.