Database turn controller

inserts the tiles/words into the database