Scanning and Sequential Decision Making for Multidimensional Data