Compiled and run Chapter1 on Mac OS X and Android GT-N5100 respectively.