Create some util functions.

GAE supports only one dimensional list, create functions to support
multi-dimensional by casting list to string and reverse.
Fix a bug

Check if there is incorrect open bracket.
fix a bug, and add package init
Merge remote-tracking branch 'origin/dev' into map_dev
Merge pull request #7 from stevenh47/map_dev

Create some util functions.