pygame implementation for flipdotsim