I filled in several moveTiles() methods, and also fixed some code