show major list from array to tableview