Finally got XOR and OR working! just need toc lean things up now!