These are logic gates put into scratch If you don't know the general concept then have a look it will only take a bit. There are 2 lamps which can be 1(on) and 0(off). Logic gates change the inputs. Have fun!
Use with credit -all by me