added an enum for hardness selection in generateBoard function