Added krpipe.py file with the parse_directory function. Also added testdata directory.