Serpinsky triangle implementation via SDL library