Added BeginCollection.cs code

Added code to handle dynamic lists. Incomplete.