Copy this code and paste in .circ file then open that .circ file in logisim