Small fixes to tile.cpp
Merge branch 'master' of github.com:jmageau/cpp-project