coding a doom effects using feistel net