A simple logic gate circuit simulator, written in Java