Moved some code from combineTiles.clj to delaney.clj