Added code to access camera and photo library and update the collection view with actual images