Open source logic simulator with Pygame