Flags flew at half mast on government buildings across the Netherlands on Tuesday, a day after a gunman opened fire on a tram on the outskirts of Utrecht, killing three people.