Added function explode()
minor fixes