+ added Gate class
+ added Test first level