created basic logic gates and written simple unit test for them