Amazon interview question

implement the application a wordle