prints each movie consisting of year and name.