Fix bugs of Python and Ruby sample AI programs.
Merge branch 'master' of github.com:AI-comp/Terraforming