A quantum walk induced by Hoffman graphs and its periodicity