prev XOR was not correct.updated. also added test benches for xor,nor,and,or.