fixed Pyfly2 librart and added some simple examples