Wrote test wang tile file and implemented readFromFile()