Bug fixing and making compatible with 'Input' Class
Change Image for logic gates
Add Input class and switch image(change later)