major functional changes to make the game work; implemented word lib