Foreach 2.1

Condensed to one foreach loop and added the if statement to show books
only published after 1950.