Add tile placement and tests. Next up is some serious refactoring of testing code because this is a mess.