added method for creating random board