Added binary to handle stdin/stdout for puzzle.