create a formatter class to display the word squre on screen