deleting variables as instructed in xor.js