implement scrabble data type and score functioin