implemented path painting on Map so that it can be done one tile at a time