Created photos_controller.rb and main index.html.erb file