Worked on function spec. for checkCapitalization+checkWords.