Adding logic gates for easier use of logic.
Worked on logic gates.