updated methods linearSearch and checkWin

Updated return types to boolean types instead of char types. Commented
out lines that invoke guessing the word until code is updated. As Neil
suggested someone can update random word to an array of strings instead
of a switch.