Implements switchTiles, adds length prefix to data, added arduino code with prefix handling (to test)