added intersperse JavaDoc
added intersperse tests