corrected algorithm for shuffling word and adding word to queue

opted for queue so i can keep track of used words more easily.

fixed parsing error on mysql to fetch words from database

basic functionality demonstrated