A simple logic gate circuit simulator, writting in Java