Storm brings foot of snow to Flagstaff