made subtraction gate work... it was very easy to code :D