adding example for using an array for line endings
updated the test cases to support an array for line endings and added new test case to showcase line endings with an array
updated to support array for line endings so as to support possible multiple line endings from a single parser instance