Compiles, but has broken pipe error at runtime
Working on functions for producing expected output for random tester