Initial code for ex6.
Visualize input data.