added test framework and tested parsing
removed redundant exception handling
add gitignore
fix indents
add test for shuffling