Computing the Scanwidth of Directed Acyclic Graphs